Matthias Clasen [Sun, 4 Sep 2016 19:38:00 +0000 (15:38 -0400)]
label: Fix indentation
Trivial, but annoying.
Marek Černocký [Sun, 4 Sep 2016 19:22:08 +0000 (21:22 +0200)]
Updated Czech translation
Matthias Clasen [Sun, 4 Sep 2016 13:43:51 +0000 (09:43 -0400)]
range: Ensure we don't underallocate the highlight gadget
This was causing warnings in HighContrast.
https://bugzilla.gnome.org/show_bug.cgi?id=770614
Matthias Clasen [Sun, 4 Sep 2016 12:21:49 +0000 (08:21 -0400)]
Fix a variable name misspelling
No semantic change here; the misspelling just annoyed me.
Aurimas Černius [Sun, 4 Sep 2016 09:21:43 +0000 (12:21 +0300)]
Updated Lithuanian translation
Baurzhan Muftakhidinov [Sat, 3 Sep 2016 17:56:09 +0000 (17:56 +0000)]
Updated Kazakh translation
Baurzhan Muftakhidinov [Sat, 3 Sep 2016 17:55:38 +0000 (17:55 +0000)]
Updated Kazakh translation
Changwoo Ryu [Sat, 3 Sep 2016 14:35:58 +0000 (14:35 +0000)]
Updated Korean translation
Changwoo Ryu [Sat, 3 Sep 2016 14:35:32 +0000 (14:35 +0000)]
Updated Korean translation
Joaquim Rocha [Thu, 1 Sep 2016 11:25:23 +0000 (13:25 +0200)]
listbox: Select the last row on page down when there are few rows
When pressing page down doesn't retrieve a valid row (because the list
box has few rows), the last visible one should be selected instead.
https://bugzilla.gnome.org/show_bug.cgi?id=770703
Joaquim Rocha [Thu, 1 Sep 2016 11:23:14 +0000 (13:23 +0200)]
listbox: Avoid crashing on page down if the list has few rows
The code always assumed that getting a row at a certain 'y' was
possible but if the list box has more empty space than rows then a
valid row may not be retrieved.
https://bugzilla.gnome.org/show_bug.cgi?id=770703
Timm Bäder [Sat, 3 Sep 2016 07:58:27 +0000 (09:58 +0200)]
popover: Skip first frame when transitioning
Similar to what we do in GtkStack.
Jiri Grönroos [Sat, 3 Sep 2016 09:16:40 +0000 (09:16 +0000)]
Updated Finnish translation
Jakub Steiner [Tue, 23 Aug 2016 11:11:48 +0000 (13:11 +0200)]
Adwaita,HC: fix icon name
- while we don't use steppers anymore, for some reason they are still
defined in the theme and if you sacrifice a chicken and jump on one
leg at full moon, you can enable them.
https://bugzilla.gnome.org/show_bug.cgi?id=769498
Bernd Homuth [Fri, 2 Sep 2016 14:04:21 +0000 (14:04 +0000)]
Updated German translation
Jonas Ådahl [Fri, 2 Sep 2016 10:51:34 +0000 (18:51 +0800)]
wayland: Warn when an application tries to map popup incorrectly
When a popup is mapped but will not be the top most popup (for example
the parent is not the current top most popup, or if there already is a
popup mapped but the parent is a toplevel), warn and ignore it instead
of continuing, as continuing would be a protocol violation.
https://bugzilla.gnome.org/show_bug.cgi?id=770745
Balázs Meskó [Fri, 2 Sep 2016 08:16:23 +0000 (08:16 +0000)]
Updated Hungarian translation
Мирослав Николић [Thu, 1 Sep 2016 16:14:09 +0000 (18:14 +0200)]
Updated Serbian translation
Timm Bäder [Thu, 1 Sep 2016 13:20:12 +0000 (15:20 +0200)]
popover: Propagate drawing
Timm Bäder [Thu, 1 Sep 2016 13:16:58 +0000 (15:16 +0200)]
popover: Fix hfw/wfh size request
Since we're using _get_rect_coords in size-allocate when allocating the
size of the child widget, use the newly introduced _get_rect_for_size to
calculate the difference between the passed size_for and the one we're
supposed to pass on to the child widget.
Timm Bäder [Thu, 1 Sep 2016 13:15:18 +0000 (15:15 +0200)]
popover: Introduce _get_rect helper for a size
When calculating the requested size of a popover, we need to do the
exact same same thing _get_rect_coords did, but not for the
current popopver allocation. Add _get_rect_for_size that can be used for
this purpose
Timm Bäder [Thu, 18 Aug 2016 09:42:21 +0000 (11:42 +0200)]
gtk{info,search}bar.ui: Remove some leftover attributes
Arnaud Bonatti [Wed, 31 Aug 2016 05:46:34 +0000 (07:46 +0200)]
Use 'focused' everywhere.
https://bugzilla.gnome.org/show_bug.cgi?id=770624
Arnaud Bonatti [Wed, 31 Aug 2016 05:43:44 +0000 (07:43 +0200)]
Fix typos.
https://bugzilla.gnome.org/show_bug.cgi?id=770624
Piotr Drąg [Thu, 1 Sep 2016 00:59:03 +0000 (02:59 +0200)]
Updated Polish translation
Matthias Clasen [Wed, 31 Aug 2016 19:04:57 +0000 (15:04 -0400)]
Fix the scrolledwindow test
These tests were written for the propagate-nat-size semantics,
so opt in to it.
Tristan Van Berkom [Wed, 31 Aug 2016 04:54:25 +0000 (13:54 +0900)]
GtkScrolledWindow: Bug 766569 - Make propagation of natural child sizes optional
Making propagation of child natural sizes mandatory (or default, even) was
evidently a mistake as this causes dynamic content in a scrolled window
to resize it's parent when the scrolled window is competing for space
with an adjacent widget.
This patch instead adds API to control whether natural width and
height of the child should be propagated through the scrolled windows
size requests.
Matthias Clasen [Wed, 31 Aug 2016 11:07:01 +0000 (07:07 -0400)]
Require wayland-protocols 1.7
Needed for xdg-shell v6.
Christian Kirbach [Wed, 31 Aug 2016 07:10:52 +0000 (07:10 +0000)]
Updated German translation
Gábor Kelemen [Tue, 30 Aug 2016 07:39:03 +0000 (07:39 +0000)]
Updated Hungarian translation
Matthias Clasen [Mon, 29 Aug 2016 17:34:05 +0000 (13:34 -0400)]
3.21.5
Matthias Clasen [Mon, 29 Aug 2016 19:49:24 +0000 (15:49 -0400)]
x11: Fix a trap mixup
There was a return between a push/pop of an error trap, and
this managed to trigger the 'unpopped trap' warning in the
displayclose test now. Fix this.
Lionel Landwerlin [Thu, 25 Aug 2016 19:38:52 +0000 (20:38 +0100)]
gtk: window: don't forget to realize popovers of subwindows
https://bugzilla.gnome.org/show_bug.cgi?id=770307
Matthias Clasen [Mon, 29 Aug 2016 17:12:56 +0000 (13:12 -0400)]
Document handle-related Wayland api
In particular, note that this API depends on an unstable
Wayland protocol and thus may have to change.
Jonas Ådahl [Wed, 13 Jul 2016 07:24:19 +0000 (15:24 +0800)]
wayland: Add API for setting an exported as a parent
Add an API that enables an application to, given an exported window
handle, set its own window as a transient of the window associated with
the exported window handle.
https://bugzilla.gnome.org/show_bug.cgi?id=769788
Jonas Ådahl [Wed, 13 Jul 2016 07:22:59 +0000 (15:22 +0800)]
window: Add Wayland implementation of gtk_window_export_handle
https://bugzilla.gnome.org/show_bug.cgi?id=769788
Jonas Ådahl [Tue, 12 Jul 2016 03:49:39 +0000 (11:49 +0800)]
wayland: Add API for creating exported window handles
Using the xdg_foreign protocol, expose a way to get handles to windows
that may be shared between processes.
https://bugzilla.gnome.org/show_bug.cgi?id=769788
Benjamin Otte [Mon, 29 Aug 2016 14:00:17 +0000 (16:00 +0200)]
Use NULL for generic marshallers in g_signal_new()
glib will use the correct marshaller automatically. And as a side
effect, we also get all glib optimizations, like a va marshaller.
Matthias Clasen [Mon, 29 Aug 2016 14:01:20 +0000 (10:01 -0400)]
about dialog: Set a max-content-height on credits
This keeps the credits section from making the dialog grow
when there are lots of credits.
https://bugzilla.gnome.org/show_bug.cgi?id=770458
Carlos Soriano [Mon, 29 Aug 2016 12:39:48 +0000 (14:39 +0200)]
gtkplacessidebar: fix signal marshal
We were using __VOID for the SHOW_OTHER_LOCATION signal that
uses flags named SHOR_OTHER_LOCATION_WITH_FLAGS.
However, if a signal uses flags the marshal needs to use __FLAGS.
This patch addresses this using VOID__FLAGS as the marshaler parameter.
Thanks to Jan Steffens for pointing this out.
https://bugzilla.gnome.org/show_bug.cgi?id=770550
Мирослав Николић [Sun, 28 Aug 2016 19:55:26 +0000 (21:55 +0200)]
Updated Serbian translation
Мирослав Николић [Sun, 28 Aug 2016 19:54:20 +0000 (21:54 +0200)]
Updated Serbian translation
Руслан Ижбулатов [Fri, 26 Aug 2016 20:46:27 +0000 (20:46 +0000)]
GDK W32: Remove obsolete assertions
Piotr Drąg [Fri, 26 Aug 2016 11:46:38 +0000 (13:46 +0200)]
Updated Polish translation
Matthias Clasen [Fri, 26 Aug 2016 05:09:40 +0000 (01:09 -0400)]
Updates
Benjamin Otte [Thu, 25 Aug 2016 21:01:28 +0000 (23:01 +0200)]
Add braces to appease gcc
-ftrack-macro-expansion=0 doesn't like if statements without braces when
evaluating indentation levels.
Benjamin Otte [Thu, 25 Aug 2016 19:05:25 +0000 (21:05 +0200)]
uimanager: Correctly indent code
Benjamin Otte [Thu, 25 Aug 2016 19:05:07 +0000 (21:05 +0200)]
a11y: Correctly indent code
Matej Urbančič [Thu, 25 Aug 2016 20:16:17 +0000 (22:16 +0200)]
Updated Slovenian translation
Matej Urbančič [Thu, 25 Aug 2016 20:09:16 +0000 (22:09 +0200)]
Updated Slovenian translation
Matthias Clasen [Thu, 25 Aug 2016 11:48:20 +0000 (07:48 -0400)]
cell renderer text: Allow entries to shrink
Set a small max-width on entries used for editing cells, so they
adapt to small columns and don't overlap the next column.
https://bugzilla.gnome.org/show_bug.cgi?id=770374
Olivier Fourdan [Tue, 5 Apr 2016 16:17:40 +0000 (18:17 +0200)]
wayland: add min/max size from xdg-shell v6
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764413
Jonas Ådahl [Fri, 8 Jul 2016 08:54:36 +0000 (16:54 +0800)]
wayland: Implement move_to_rect
Translate move_to_rect parameter into xdg_positioner requests, and use
the generated xdg_positioner to create the popup.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Fri, 1 Jul 2016 09:03:36 +0000 (17:03 +0800)]
wayland: Port to xdg_shell unstable v6
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Fri, 1 Jul 2016 09:02:11 +0000 (17:02 +0800)]
wayland: Move window geometry calculation to helper
We'll use it from more places later.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Fri, 1 Jul 2016 08:51:32 +0000 (16:51 +0800)]
wayland: Only update the window title if it actually updated
This makes the protocol log less spammy.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Fri, 1 Jul 2016 08:48:16 +0000 (16:48 +0800)]
wayland: Only sync surface regions once per commit
Only set input, opaque and window geometry regions once per commit.
They are double buffered anyway, so the last one would only take effect
either way; this way reading protocol logs are much more pleasent.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Tue, 26 Jan 2016 02:14:54 +0000 (10:14 +0800)]
wayland: Remove gdk_wayland_display_get_xdg_shell()
Don't expose the xdg_shell struct as it is not yet a stable type that
will stay the same.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Tue, 28 Jun 2016 07:01:22 +0000 (15:01 +0800)]
wayland: Get tiled state from gtk_shell instead of xdg_shell
Use our the 'tiled' entry from our new 'state' enum sent via
xdg_surface.configure.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Tue, 28 Jun 2016 07:01:04 +0000 (15:01 +0800)]
wayland: Fix indentation
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Matthias Clasen [Thu, 25 Aug 2016 04:13:13 +0000 (00:13 -0400)]
wayland: Add some more debug spew
Matthias Clasen [Thu, 25 Aug 2016 03:59:46 +0000 (23:59 -0400)]
wayland: Replace g_debug by GDK_NOTE
We have this framework, lets use it.
Matthias Clasen [Wed, 24 Aug 2016 18:43:58 +0000 (14:43 -0400)]
Document window-icon related api as 'may not work'
Some platforms simply don't have window icons (such as Wayland).
Matthias Clasen [Wed, 24 Aug 2016 18:10:35 +0000 (14:10 -0400)]
notebook: Update arrow state when switching pages
Otherwise, we may end up showing clickable arrows that don't
do anything.
https://bugzilla.gnome.org/show_bug.cgi?id=770332
Matthias Clasen [Wed, 24 Aug 2016 16:58:54 +0000 (12:58 -0400)]
scale: Document interaction between rounding and autoscrolling
This is a bit of a gotcha, so better document it.
Matthias Clasen [Wed, 24 Aug 2016 16:53:28 +0000 (12:53 -0400)]
widget-factory: Fix smooth autoscrolling of scales
There is annoying interference between formatting the value
(for which we set the number of digits to show) and the small
frame-to-frame value changes that we do for autoscrolling.
To work around this, turn off the digits-based rounding entirely
and format the value ourselves with ::format-value.
Matthias Clasen [Wed, 24 Aug 2016 15:11:57 +0000 (11:11 -0400)]
gtk-demo: Make the scale demo fully functional
The adjustments need to have step-increment and page-increment
set up, or keynav and autoscrolling will not work.
Matthias Clasen [Wed, 24 Aug 2016 14:54:00 +0000 (10:54 -0400)]
Allow activating the desktop portal for inhibit
We allow it everywhere else, and there is nothing wrong with it.
Marek Černocký [Wed, 24 Aug 2016 12:10:11 +0000 (14:10 +0200)]
Updated Czech translation
Daniel Mustieles [Wed, 24 Aug 2016 10:05:51 +0000 (10:05 +0000)]
Updated Spanish translation
Piotr Drąg [Tue, 23 Aug 2016 19:57:59 +0000 (21:57 +0200)]
Update POTFILES.in and POTFILES.skip
Carlos Garnacho [Tue, 23 Aug 2016 18:18:10 +0000 (20:18 +0200)]
demos: Use stateful actions for rings/strips in "Touch and Drawing Tablets" demo
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Tue, 23 Aug 2016 18:16:02 +0000 (20:16 +0200)]
GtkPadController: Make ring/strip actions be activated with the axis value
This way these axes may be used in detail by the implementors of pad GActions.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Tue, 23 Aug 2016 18:31:29 +0000 (20:31 +0200)]
GtkEventController: Add some comment describing the filter_event private vfunc
It might not be entirely clear what the boolean return value means.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:51:24 +0000 (19:51 +0200)]
demos: Add pad support to "event axes" demo
And rename it to "Touch and Drawing Tablets", since it's no longer about
"axes" really.
As for pad support in the demo, just keep it "simple", make the
controller handle all pad devices, and make all the actions have the
same callback.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:49:27 +0000 (19:49 +0200)]
GtkPadController: Notify actions back to the windowing on wayland
This allows applications to provide descriptions of the actions performed
by each pad feature. pass the GtkPadActionEntry labels for this.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:47:13 +0000 (19:47 +0200)]
wayland: Offer wayland-specific method to set pad actions feedback
The wayland tablet protocol allows notifying the compositor with
descriptions of the actions performed by each tablet element. This
API call allows to hook up in to this wayland-specific feature.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:46:04 +0000 (19:46 +0200)]
wayland: Support pad devices in gdk_wayland_device_get_node_path()
We can return the node path on those too, so do that.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:44:44 +0000 (19:44 +0200)]
wayland: Implement pad event emission
We now send all the set of button/ring/strip/group_mode events.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:42:23 +0000 (19:42 +0200)]
wayland: Create/expose pad devices
These devices are kind of an strange case. Their "master" device is
the keyboard, because they share toplevel focus with it, regardless
of stylus focus. Nonetheless, they are only expected to send the
GdkEventPad* set of events.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:40:14 +0000 (19:40 +0200)]
wayland: Add GdkWaylandDevicePad
This is a subclass of GdkWaylandDevice that implements GdkDevicePad,
all pad features are looked up from the info obtained through the
tablet v2 interface.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:36:32 +0000 (19:36 +0200)]
wayland: Implement backbone of pad support
All pad interfaces and features are poked, we just now need
exposing those.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:22:34 +0000 (19:22 +0200)]
gtk: Add GtkPadController
This GdkEventController is a helper object to handle pad events,
it allows setting a mapping to action names, to be triggered in
the given action group.
In order to help on places where advanced mapping/configurability
of pad features is not desirable, this controller also allows
passing a NULL pad device, meaning it will listen on all pads,
and/or passing -1 on mode/index, so an action applies to all
modes/features (eg. strips/rings).
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:17:21 +0000 (19:17 +0200)]
gtk: Add minimal handling of pad events
No real handling is yet performed, to be done through a GdkEventController
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:12:57 +0000 (19:12 +0200)]
gdk: Add GdkDevicePad
This is an interface meant to be implemented by the "pad" devices.
This device-specific interface exposes the mapping of all pad features,
it allows retrieving:
- The number of buttons/rings/strips
- The number of groups
- The number of modes a group has
- Whether a given button/ring/strip belongs to a given group
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:10:21 +0000 (19:10 +0200)]
gdk: Address pad events similarly to keyboard events
We want the same treatment for those, the event will be emitted on the
toplevel, which will then decide what to do with the event.
It just doesn't make much sense to propagate those up/down the hierarchy,
when we want specifically one action being triggered from those.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:04:36 +0000 (19:04 +0200)]
gdk: Add pad event structs, enum values, and event mask bit
GDK_PAD_BUTTON*,RING and STRIP will be emitted respectively when
pad buttons, rings or strips are interacted with. Each of those
pad components belong to a group (a pad can contain several of
those), which may be in a given mode. All this information is
contained in the event.
GDK_PAD_GROUP_MODE is emitted when a group in the pad switches
mode, which will generally result in a different set of actions
being triggered from the same buttons/rings/strips in the group.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 17:01:38 +0000 (19:01 +0200)]
gdkdevice: Add GDK_SOURCE_TABLET_PAD input source type for GdkDevices
This will represent a tablet pad.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 16:59:09 +0000 (18:59 +0200)]
wayland: Add wayland-specific method to retrieve a device node path
This will be useful at least for g-c-c, in order to match libwacom
data with GdkDevices.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 16:52:51 +0000 (18:52 +0200)]
gdk: Pass hardware ID on gdk_device_tool_new()
And implement this on wayland, where this information is already obtained.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Thu, 4 Aug 2016 16:49:13 +0000 (18:49 +0200)]
gdk: Add a getter for the hardware id of a GdkDeviceTool
Although scarcely used, this information may be useful to retrieve
from the windowing systems that offer this information.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Philip Withnall [Mon, 22 Aug 2016 14:39:02 +0000 (15:39 +0100)]
gtkbindings: Add an example for gtk_binding_entry_add_signal()
Otherwise the way the varargs are supposed to be used is completely
opaque.
https://bugzilla.gnome.org/show_bug.cgi?id=770236
Jordi Mas [Mon, 22 Aug 2016 19:52:18 +0000 (21:52 +0200)]
Update Catalan translation
Piotr Drąg [Mon, 22 Aug 2016 18:00:39 +0000 (20:00 +0200)]
Updated Polish translation
Philip Withnall [Mon, 22 Aug 2016 16:10:47 +0000 (17:10 +0100)]
gtkbindings: Clarify that widgets need has-focus for bindings to work
https://bugzilla.gnome.org/show_bug.cgi?id=770242
Lapo Calamandrei [Mon, 22 Aug 2016 12:17:34 +0000 (14:17 +0200)]
Adwaita: increase border radius on button.circular...
...to allow huge circular buttons.
See https://bugzilla.gnome.org/show_bug.cgi?id=770166
Emmanuele Bassi [Mon, 22 Aug 2016 08:23:02 +0000 (09:23 +0100)]
quartz: Fix typo that broke debug builds
Alexandre Franke [Mon, 22 Aug 2016 08:20:01 +0000 (08:20 +0000)]
Updated French translation
Rafael Fontenelle [Mon, 22 Aug 2016 04:13:36 +0000 (04:13 +0000)]
Updated Brazilian Portuguese translation
Mario Blättermann [Sun, 21 Aug 2016 20:26:50 +0000 (20:26 +0000)]
Updated German translation